﻿<%@ Page Title="" Language="C#" MasterPageFile="~/ModulesPage.Master" AutoEventWireup="true" CodeBehind="RoomOccupancy.aspx.cs" Inherits="SwenAssignment3.ReportingModule.RoomOccupancy" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <p style="text-align: center">
        <asp:DropDownList ID="roomtypeddl" runat="server" OnSelectedIndexChanged="roomtypeddl_SelectedIndexChanged">
            <asp:ListItem>Deluxe Suite</asp:ListItem>
            <asp:ListItem>President Suite</asp:ListItem>
        </asp:DropDownList>
    </p>
    <p>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" OnSelectedIndexChanged="GridView1_SelectedIndexChanged" Width="283px">
            <Columns>
                <asp:BoundField />
                <asp:BoundField DataField="RoomNo" HeaderText="Room Number" SortExpression="string" />
                <asp:BoundField DataField="Floor" HeaderText="Floor" SortExpression="floor" />
                <asp:BoundField DataField="RoomType" HeaderText="Room Type" SortExpression="roomType" />
                <asp:BoundField DataField="BedType" HeaderText="Bed Type" SortExpression="bedType" />
                <asp:BoundField DataField="SmokingOrNot" HeaderText="Smoking room" SortExpression="smokingOrNot" />
                <asp:BoundField DataField="MaxOccupancy" HeaderText="Max Occupancy" SortExpression="macOccupancy" />
                <asp:BoundField DataField="RoomRates" HeaderText="Room Rates" SortExpression="roomRates" />
                <asp:BoundField DataField="RoomStatus" HeaderText="Room Status" SortExpression="roomStatus" />
                <asp:BoundField DataField="MaintainedBy" HeaderText="Maintained By" SortExpression="maintainedBy" />
            </Columns>
        </asp:GridView>
    </p>
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
</asp:Content>
